<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<span th:text="${registerData.messager}">显示注册消息</span>
<div th:if="${registerData.status}">
    <span><a th:href="@{ /user/login }">登录</a></span>
</div>
</body>
</html>